<?php print $this->doctype()?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
<head>
	<?php
		print $this->headBase();
    	print $this->headMeta();
    	print $this->headTitle();
    	print $this->headScript();
    	print $this->headLink();
    	print $this->headStyle();
    ?>
</head>

<body>

<div id="wrapper">
	<?php print $this->partial('_partial/head.phtml')?>
	
	<div id="bar">
		<ul>
			<li class="gab_med_nat"><a href="<?php print $this->url(array('alias' => 'o-nas'),'site',true)?>"><b>Gabinet medycyny naturalnej</b></a></li>
			<li class="skl_wys"><a href="<?php print $this->url(array(),'shop-main',true)?>"><b>Sklep wysyłkowy</b></a></li>
			<li class="kontakt"><a href="<?php print $this->url(array('alias' => 'kontakt'),'site', true)?>"><b>Kontakt</b></a></li>
		</ul>
	</div>

	<div id="site-content">
		<div id="welcome">
			<?php print $this->layout()->content?>
		</div>

		<div id="listof">
			<div id="articles">
				<h2>Ostatnie artykuły</h2>
				<?php print $this->siteAttachment('artykuly','news')->setRowCount(5)->render('_partial/newsAttachment.phtml')?>
			</div>
			
			<div id="news">
				<h2>Aktualności</h2>
				<?php print $this->siteAttachment('aktualnosci','news')->setRowCount(5)->render('_partial/newsAttachment.phtml')?>
			</div>
		</div>
		
		<div id="products">
			<?php
				print $this->getHelper('ShopPromotions')
						   ->shopPromotions()
						   ->setLimit(3)
						   ->render('_partial/shopPromotionMain.phtml');
			?>
		</div>
	
		<div id="contact">
			<address>Gabinet Medycyny Naturalnej<br />Kraków, ul. Estery 6, II p., pok. 303</address>
			<a href="<?php print $this->url(array('alias' => 'kontakt'),'site',true)?>" class="button contact">napisz email</a>
		</div>
	</div>
	
	<div id="footer" class="sg">
		<?php print $this->partial('_partial/foot.phtml')?>
	</div>
</div>
<?php print $this->inlineScript()?>
</body>
</html>